import request from "@/utils/request";

// 获取专业题库列表
export const getMajorQuestionBankList = (data) => {
    return request.get("/assessmentCenter/majorQuestionBankList", { params: data })
}

// 获取软技能题库列表
export const getSoftSkillsQuestionBankList = (data) => {
    return request.get("/assessmentCenter/getSoftSkillsQuestionBankList", { params: data })
}

// 根据题库id获取具体题目列表
export const getQuestionList = (id) => {
    return request.get(`/assessmentCenter/questionList?id=${id}`)
}

// 提交测评答案
export const addScore=(data)=>{
    return request.post("/assessmentCenter/addScore",data)
}

// 获取可选的活动规模列表
export const getDicScaleList = (data) => {
    return request.get("/certificateAuthority/dicScaleList", { params: data })
}

